import Button from '@mui/material/Button'
import React from 'react'
import { Link } from 'react-router-dom'

export default function Home () {
  return <div style={{height:'100%'}}>
    <img 
      src={require('@/assets/images/home.jpeg').default} 
      alt="" 
      style={{width:'100%', height:'100%', objectFit:'cover'}} />

    <div style={{position:'absolute', top:'40%', width:'100%', textAlign:'center'}}>
      
      <Link to="/play">
        <Button variant="contained" color="primary">点击进入</Button>
      </Link>
    </div>
  </div>
}
